package com.vhall.component.entity.rbac.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author longzhen.gong
 * @date 2021/6/11 10:53
 */
@Data
public class AccessOpLogVO implements Serializable, Cloneable {
    private static final long serialVersionUID = -4344075770784514531L;

    private Integer id;

    @ApiModelProperty(value = "操作者")
    private String operator;

    @ApiModelProperty(value = "操作内容")
    private String content;

    @ApiModelProperty(value = "操作行为类型: 1:组 2:角色 3:权限")
    private Integer type;

    @ApiModelProperty(value = "创建时间")
    @JsonProperty("created_at")
    private LocalDateTime createdAt;

    @ApiModelProperty(value = "更新时间")
    @JsonProperty("updated_at")
    private LocalDateTime updatedAt;

    @ApiModelProperty(value = "删除时间")
    @JsonProperty("deleted_at")
    private LocalDateTime deletedAt;
}
